#ifndef VOCABULARYDAO_H
#define VOCABULARYDAO_H

#include <QObject>
#include "datavocabulary.h"

class VocabularyDao
{

public:
    //插入一条Vocabulary记录
    static void insert(const Vocabulary vocabulary);

    static Vocabulary findById(int id);

    //查询所有Vocabulary记录
    static QList<Vocabulary> queryAll();

    VocabularyDao();
};

#endif // VOCABULARYDAO_H
